import { ApiProperty } from "@nestjs/swagger";
import { IsOptional } from "class-validator";

export class FindListSysDictDto {
    @ApiProperty({
        description: "父亲id",
        example: `1`,
        required: false
    })
    @IsOptional()
    parentId: number;
    
    @IsOptional()
    code: string;
    
    @IsOptional()
    name: string;
    
    @IsOptional()
    page: number;
    @IsOptional()
    size: number;
}